473,468 Members | 1,351 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem with Menu/Submenu IE7

4 New Member
Hello All,

I am having a problem with my menu and submenu system. It works like a champ in IE6 and Firefox but IE7 renders the submenus in incorrect positions on the page. Also, the menu system is not working properly. Any help would be greatly appreciated. Here is the code:

oM=new makeCM("oM"); oM.resizeCheck=1; oM.rows=1; oM.onlineRoot=""; oM.pxBetween =0;
oM.fillImg="../../images/cm_fill.gif"; oM.fromTop=126; oM.fromLeft=195; oM.wait=300; oM.zIndex=400;
oM.useBar=1; oM.barWidth="0"; oM.barHeight="menu"; oM.barX=0;oM.barY="menu"; oM.barClass="clBar";
oM.barBorderX=0; oM.barBorderY=0;
oM.level[0]=new cm_makeLevel(90,21,"clT","clTover",1,1,"clB",0,"bo ttom",0,0,0,0,0);
oM.level[1]=new cm_makeLevel(102,22,"clS","clSover",1,1,"clB",0,"r ight",0,0,"../../images/menu_arrow.gif",10,10);
oM.level[2]=new cm_makeLevel(110,22,"clS2","clS2over");
oM.level[3]=new cm_makeLevel(140,22);
//Primary Menu Options
oM.makeMenu('m1','','Home','../../index.shtml');
oM.makeMenu('m2','','Franklin High','../../fhs/index.shtml');
oM.makeMenu('m3','','J.P. King','../../jpk/index.shtml');
oM.makeMenu('m4','','S.P. Morton','../../spm/index.shtml');
oM.makeMenu('m5','','Central Office','../../co/index.shtml');
oM.makeMenu('m6','','Jobs','../../jobs/index.shtml');
oM.makeMenu('m7','','Search','../../search.shtml');
oM.makeMenu('m8','','Contacts','../../contacts/index.shtml');
<!--#if expr="$REMOTE_ADDR = /^/" -->
oM.makeMenu('m9','','Internal','../../int/index.shtml');
<!--#else -->
oM.makeMenu('m9','','','');
<!--#endif -->

//FHS Submenu options
oM.makeMenu('m10','m2','Attendance Info.','../../fhs/att_info.shtml');
oM.makeMenu('m11','m2','Graduation Info.','../../fhs/gradinfo.shtml');
oM.makeMenu('m12','m2','Homepage','../../fhs/');
oM.makeMenu('m13','m2','HOSA','../../fhs/hosa/');
oM.makeMenu('m14','m2','Picture Gallery','../../fhs/fhspics.shtml');
oM.makeMenu('m15','m2','Rules &amp; Regs','../../fhs/docs/studentagenda2003-2004.pdf');
oM.makeMenu('m16','m2','Scholarship Info','../../fhs/scholarship.shtml');
oM.makeMenu('m17','m2','Sports','../../fhs/sports/index.shtml');
oM.makeMenu('m18','m2','Staff Directory','../../co/docs/FHS_Directory.pdf');
oM.makeMenu('m19','m2','Student Agenda','../../fhs/docs/studentagenda2003-2004.pdf');
oM.makeMenu('m20','m2','SVJTA','../../fhs/fhs_svjta.shtml');
//JPK Submenu options
oM.makeMenu('m21','m3','Homepage','../../jpk/');
oM.makeMenu('m22','m3','Newsletters','../../jpk/jpk_coc.shtml');
oM.makeMenu('m23','m3','Picture Gallery','../../jpk/jpkpics.shtml');
oM.makeMenu('m24','m3','Staff Directory','../../co/docs/JPK_Directory.pdf');
//SPM Submenu options
oM.makeMenu('m25','m4','Homepage','../../spm/');
oM.makeMenu('m26','m4','Philosophy','../../spm/spm_phil.shtml');
oM.makeMenu('m27','m4','Picture Gallery','../../spm/spmpics.shtml');
oM.makeMenu('m28','m4','P.T.A.','../../spm/docs/PTAOfficers0506.pdf');
oM.makeMenu('m29','m4','Staff Directory','../../co/docs/SPM_Directory.pdf');
//CO Submenu options
oM.makeMenu('m30','m5','Belief Statements','../../co/beliefs.shtml');
oM.makeMenu('m31','m5','Board Info.','../../co/boardinf.shtml');
oM.makeMenu('m32','m5','Board Min.','../../co/minutes.shtml');
oM.makeMenu('m33','m5','Character Edu.','../../co/charedu.shtml');
oM.makeMenu('m34','m5','Curriculum Upd.','../../co/curric.shtml');
oM.makeMenu('m35','m5','FCPS Goals','../../co/goals.shtml');
oM.makeMenu('m36','m5','Federal Progs.','../../co/fedprogs.shtml');
oM.makeMenu('m37','m5','Finance Dept.','../../co/finance.shtml');
oM.makeMenu('m38','m5','Homepage','../../co/');
oM.makeMenu('m39','m5','Links','../../co/links.shtml');
oM.makeMenu('m40','m5','Online Reference','../../co/extonlineref.shtml');
oM.makeMenu('m41','m5','School Calendar','../../co/docs/2005Calendar.pdf');
oM.makeMenu('m42','m5','Staff Directory','../../co/docs/CO_Directory.pdf');
oM.makeMenu('m43','m5','Support Services','../../co/suptserv.shtml');
oM.makeMenu('m44','m5','Technology','../../tech/');
oM.makeMenu('m45','m5','Transportation','../../co/trans.shtml');
//Jobs Submenu options
oM.makeMenu('m46','m6','Job Postings','../../jobs/');
//Search Submenu options
oM.makeMenu('m47','m7','Search Our Site','../../search.shtml');
//Contacts Submenu options
oM.makeMenu('m48','m8','FHS','../../contacts/index.shtml#fhs');
oM.makeMenu('m49','m8','JPK','../../contacts/index.shtml#jpk');
oM.makeMenu('m50','m8','SPM','../../contacts/index.shtml#spm');
oM.makeMenu('m51','m8','Central Office','../../contacts/index.shtml#co');
oM.makeMenu('m52','m8','Food Services','../../contacts/index.shtml#food');
oM.makeMenu('m53','m8','Finance','../../contacts/index.shtml#finance');
oM.makeMenu('m54','m8','Human Res.','../../contacts/index.shtml#hr');
oM.makeMenu('m55','m8','Maintenance','../../contacts/index.shtml#maint');
oM.makeMenu('m56','m8','School Board','../../co/docs/0506BoardMembersRevised.pdf');
oM.makeMenu('m57','m8','Support Services','../../contacts/index.shtml#suptserv');
oM.makeMenu('m58','m8','Technology','../../contacts/index.shtml#tech');
oM.makeMenu('m59','m8','Transportation','../../contacts/index.shtml#trans');
oM.makeMenu('m60','m8','Webmaster','../../contacts/index.shtml#webmaster');
oM.makeMenu('m61','m8','Support Services','../../contacts/index.shtml#suptserv');

//Internal Website Submenu options
<!--#if expr="$REMOTE_ADDR = /^ -->
oM.makeMenu('m62','m9','Internal Website','../../int/');
<!--#else -->
oM.makeMenu('m62','m9','','');
<!--#endif -->


var avail="190+((cmpage.x2-235)/7)";
//Old Numbers: Array(192,avail+"-11",avail+"*2-8",avail+"*3-12",avail+"*4-7",avail+"*5-9",avail+"*6+5")
oM.menuPlacement=new Array(40,90,175,235,310,400,440,490,550)
oM.construct()
Apr 20 '07 #1
2 2189
drhowarddrfine
7,435 Recognized Expert Expert
Which doctype are you using?
Apr 20 '07 #2
az538
4 New Member
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Thank you for the help.
Apr 20 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: dr. zoidberg | last post by:
Hello, I'm creating simple menu. MySQL: +----+-----+----------------------+ | id | sid | Title | +----+-----+----------------------+ | 1 | 0 | Main Menu 1 | 2 | 0 | Main Menu 2 | ...
1
by: Patrick L. Nolan | last post by:
We have a Tkinter application which has a menubar with cascade submenus. I would like to start the program with one of the submenu items state=DISABLED, then change it to state=NORMAL at a later...
14
by: Bryan | last post by:
I am attempting to make a web page more Netscape friendly... <a href="http:www.gordonceilings.com"></a> I have already corrected the table issues in an offline staging site (where I do the...
4
by: Enrika | last post by:
Greetings! I'm working on a CSS drop-down menu, which, to my surprise, is actually working, more-or-less, in both IE *and* Firefox (and Netscape). But there are two changes that I want to make that...
5
by: Jonathan | last post by:
Hello All, I am in the process of creating a 2/3 level collapsible/exspanible menu (called "nav") where users can click on a category and have the submenus appear beneath it and so on (allow...
1
oll3i
by: oll3i | last post by:
i have written css tab menu but my links in submenu inherit the style of a href in main menu (#menu ul li a)? when i hover over the links in submenu they do change as i want them to change they...
0
by: hitencontractor | last post by:
I am working on .NET Version 2003 making an SDI application that calls MS Excel 2003. I added a menu item called "MyApp Help" in the end of the menu bar to show Help-> About. The application...
2
by: dharmbhav | last post by:
Hello all, I am trying to develop a roll-over menu effect on a page. It works fine with all other browsers except IE6. Can some one please help me? HTML: <div class="menu-item-wrap">...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.